package top.hardsnail.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.hardsnail.entity.User;
import top.hardsnail.mapper.IBaseMapper;
import top.hardsnail.mapper.UserMapper;
import top.hardsnail.service.IUserService;

import javax.annotation.Resource;

/**
 * @author Tre'
 * @date 2021/2/28 14:25
 */
//@Service("userService")
@Service()
public class UserServiceImpl extends BaseServiceImpl<User> implements IUserService {

    @Resource
    private UserMapper userMapper;

    @Override
    protected IBaseMapper<User> baseMapper() {
        return userMapper;
    }
}
